﻿<%@ Page Title="" Language="C#"  AutoEventWireup="true"
    StylesheetTheme="Content" CodeFile="SkillList.aspx.cs" Inherits="Combat_SkillList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <table border="0" width="100%" cellpadding="0" cellspacing="0">
        <caption>
            <span>士兵训练记录</span></caption>
        <tr>
            <td>
                <asp:GridView ID="UserGrid" runat="server" 
                    onrowdatabound="UserGrid_RowDataBound">
                <Columns>
                 <asp:TemplateField HeaderStyle-Width="10" >
                <ItemTemplate>
                 <asp:Label ID="ID" runat="server" ForeColor="#666666"></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="训练技能" HeaderStyle-HorizontalAlign="Left">
                <ItemTemplate>
                <%# Eval("SkillName") %>
                </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="成绩" HeaderStyle-HorizontalAlign="Left">
                <ItemTemplate>
                <%# GetScore(Eval("FirstScore"),Eval("xwtype"))%>
                </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderStyle-Width="60">
                <ItemTemplate>
                <%# GetState(Eval("State"))%>
                </ItemTemplate>
                </asp:TemplateField>                
                </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>